package com.bc.mes.service.impl;

import com.bc.mes.service.SmsRoleService;
import com.bc.mes.mbg.dao.SmsRolePermissionDao;
import com.bc.mes.mbg.model.smsstaff.SmsPermission;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version 1.0
 * @Author 小胤
 * @Date 2024/7/10 22:32
 * @注释
 */
@Service
public class SmsRoleServiceImpl implements SmsRoleService {
    @Autowired
    private SmsRolePermissionDao rolePermissionDao;
    @Override
    public List<SmsPermission> getPermissionList(Long roleId) {
        return rolePermissionDao.getPermissionList(roleId);
    }
}
